# Description: Getopt_long benzeri işlem seçenekleri için Lua modülü
# URL: http://luaforge.net/projects/alt-getopt/
# Packager: milisarge
# Depends on: lua bmake

name=lua-alt-getopt
version=0.7.0
release=1

source=(
http://mova.org/~cheusov/pub/lua_alt_getopt/lua-alt-getopt-$version.tar.gz)

build(){
    cd $name-$version
    bmake LUAVER=5.2 PREFIX=/usr
    install -Dm755 alt_getopt $PKG/usr/bin/alt_getopt
    install -Dm664 alt_getopt.lua $PKG/usr/share/lua/5.2/alt_getopt.lua
}
